package com.dao;

import com.dto.BookDTO;
import com.dto.BookRecommendDTO;
import com.po.BookRecommendPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author linyukun
 * @date 2022/8/1 18:07
 */
@Mapper
@Repository
public interface BookRecommendDao {
    List<BookRecommendPO> getBookRecommendList();

    Integer addBookRecommend(@Param("dto") BookRecommendDTO dto);

    Integer deleteBookRecommendById(@Param("dto")BookRecommendDTO dto);
}
